package com.fuxian.dao;

import java.util.List;
import com.fuxian.model.Student;

public interface StudentDao {

	/**
	 * ADD NEW Student
	 * @author caoxue
	 * @param Student
	 */
	public void addStudent(Student student);

	/**
	 * DELETE Student BY ID
	 * @author caoxue
	 * @param id
	 */
	public void deleteStudentById(int id);

	/**
	 * MODIFY Student
	 * @author caoxue
	 * @param student
	 */
	public void modifyStudent(Student student);

	/**
	 * SELECT Student BY ID
	 * @author caoxue
	 * @param id
	 * @return Student
	 */
	public Student selectStudentById(int id);

	
	/**
	 * SELECT ALL Student
	 * @param map
	 * @return List
	 */
	public List<Student> selectAllStudent(int start,int size);
	
	public int selectStudentCount();
}
